home *** CD-ROM | disk | FTP | other *** search
- Subject: Re:FW_CDesc::GetShortInteger etc.
- Sent: 6/23/96 6:38 PM
- Received: 6/24/96 8:24 AM
- From: Greg Friedman, friedman@cognosis.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- At 3:40 AM 6/22/96, Hutchings Software Development wrote:
- > The implementation of this method appears to be missing.
-
- I think you are referring to PutShortInteger, not GetShortInteger. I
- defined PutShortInteger, but for some reason, it wasn't implemented. I'll
- fix it for the next release.
-
- >
- > Also, would it be possible to somehow add a method GetRect?
-
- FW_CDesc already has GetRect and PutRect methods.
-
- >
- > Finally, it would be very cool to define an ODF apple event suite that has
- > all the basic types like FW_CFixed, FW_CRect, FW_CPoint. Or should the OD
- > types be defined in the OpenDoc suite? Gee, I don't know, but I do know it
- > would be cool to have some of those things pre-defined!
-
- The types you list shouldn't be defined in an AppleEvent suite. Scripting
- in OpenDoc is dependent on the standard primitives defined in the
- AppleEvent Registry. ODF already wraps rects and points with FW_CRect and
- FW_CPoint. Your ODF code gets written in terms of these classes. Your users
- shouldn't have to care about the ODF object model, or the wrapper classes
- we use. They talk in terms of shorts and integers and colors and
- rectangles.
-
- You can think of FW_CDesc as the translation layer that lets your users
- script in terms of AppleEvent Registry classes, and lets you code in terms
- of ODF classes.
-
- Greg.
-
-
- _________________________________________________________
- Greg Friedman ODF Engineering Apple Computer
-
-